<?php
require("header.php");
require("left.php");
?>

<h3>Editare categorie</h3>
        
<?php if($error = getsession('error')) { ?>
    <div class="gagal">
    <?php echo $error; setsession('error'); ?>
    </div>
<?php } ?>
    
    <form action="" method="post" class="formfull">
    <table width="95%">
        <tr><td width="125px"><b>Nume *</b></td><td><input type="text" class="panjang urlable" name="nume" value="<?php if(isset($object['nume'])) echo $object['nume']; ?>" /></td></tr>
        <tr><td width="125px"><b>Prioritate</b></td><td><input type="text" class="panjang urlable" name="prioritate" value="<?php if(isset($object['prioritate'])) echo $object['nume']; ?>" /></td></tr>
        <tr><td></td><td>
            <input type="submit" name="submit" class="button" value="Salveaza">
        </td></tr>
    </table>
    </form>
    
<?php
require("right.php");
require("footer.php");